home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
dev
/
lang
/
python_src.lha
/
amigapython
/
BUGS.Amiga
< prev
next >
Wrap
Text File
|
1995-10-26
|
766b
|
17 lines
There is one serious bug. Floating-point numbers don't work!
The output is always %.12g
I've stepped through the code (with cpr) in the function:
Objects/floatobject.c: float_buf_repr
and I can't see it. I switched from sprintf to gcvt and it makes no
difference. I've used SAS/C 6.55 and 6.51, tried various combinations
of floating-point representations and optimisations and it always gives
%.12g. I've also compiled the same code for OSF/1 (native cc) and
HPUX (gcc) without problems, so it must be a bug in SAS/C. Because
the test program works without problem, I suspect it might be a
(s)link problem.
Perhaps someone would like to try gcc or DICE, or you have any other
suggestions, please send e-mail.
Geoff Fellows gfellows@csu.edu.au 26th Oct 1995